using Lzfy_His_Service.Models;

namespace Lzfy_His_Service.Repositories
{
    /// <summary>
    /// 用户基本科室权限查询Repository接口
    /// </summary>
    public interface IUserPermissionRepository
    {
        /// <summary>
        /// 根据用户名查询用户基本科室权限
        /// 使用Oracle HIS数据库
        /// </summary>
        /// <param name="username">用户名</param>
        /// <returns>用户权限列表</returns>
        Task<List<UserPermissionResponse>> GetUserPermissionsByUsernameAsync(string username);
    }
}